package com.apexsoft.monitor.front.console.scheme.dao;

import com.apexsoft.monitor.front.console.scheme.om.Link;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LinkDao extends AutoMapper<Link>{
    public Link selectByLinkName(@Param("linkName") String linkName);
    public List<Link> selectByStartNode(@Param("startNode") String startNode);
    public int deleteByScheme(@Param("schemeCode") String schemeCode);
}
